' Licensed to the .NET Foundation under one or more agreements.
' The .NET Foundation licenses this file to you under the MIT license.
' Requires PlantUML to interpret: http://plantuml.com/
' See license info under http://plantuml.com/faq for more details

@startuml
package "Lowest JSON Layer" {
  [JsonReader] #Yellow
  [JsonWriter] #LightGreen
}

package "Higher-level Types" {
  [JsonStreamReader] #Yellow
  [JsonPipeReader] #Yellow
  [JsonStreamWriter] #LightGreen
  [JsonPipeWriter] #LightGreen
  [Stream <-> Pipe Adapter]
}

[JsonStreamReader] --> [JsonReader]
[JsonPipeReader] --> [JsonReader]
[JsonStreamWriter] --> [JsonWriter]
[JsonPipeWriter] --> [JsonWriter]
@enduml
